package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:10
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductRequirementDAO extends IDataAccessInterface<ProductRequirement, ProductRequirementDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_REQUIREMENT";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_REQUIREMENT.ID";

    /**
     * Mapped Field PRODUCT_DEFINE_ID
    */
    static final String ProductDefineId = "PRODUCT_REQUIREMENT.PRODUCT_DEFINE_ID";

    /**
     * Mapped Field PARENT_ID
    */
    static final String ParentId = "PRODUCT_REQUIREMENT.PARENT_ID";

    /**
     * Mapped Field REQUEST_TYPE
    */
    static final String RequestType = "PRODUCT_REQUIREMENT.REQUEST_TYPE";

    /**
     * Mapped Field REQUEST_CODE
    */
    static final String RequestCode = "PRODUCT_REQUIREMENT.REQUEST_CODE";

    /**
     * Mapped Field REQUEST_NAME
    */
    static final String RequestName = "PRODUCT_REQUIREMENT.REQUEST_NAME";

    /**
     * Mapped Field REQUEST_CONTENT
    */
    static final String RequestContent = "PRODUCT_REQUIREMENT.REQUEST_CONTENT";

    /**
     * Mapped Field REQUEST_LEVEL
    */
    static final String RequestLevel = "PRODUCT_REQUIREMENT.REQUEST_LEVEL";

    /**
     * Mapped Field REQUEST_RISK
    */
    static final String RequestRisk = "PRODUCT_REQUIREMENT.REQUEST_RISK";

    /**
     * Mapped Field PROPOSER_DATE
    */
    static final String ProposerDate = "PRODUCT_REQUIREMENT.PROPOSER_DATE";

    /**
     * Mapped Field PROPOSER_ID
    */
    static final String ProposerId = "PRODUCT_REQUIREMENT.PROPOSER_ID";

    /**
     * Mapped Field CREATOR_ID
    */
    static final String CreatorId = "PRODUCT_REQUIREMENT.CREATOR_ID";

    /**
     * Mapped Field CREATE_DATE
    */
    static final String CreateDate = "PRODUCT_REQUIREMENT.CREATE_DATE";

    /**
     * Mapped Field LAST_EDITOR_ID
    */
    static final String LastEditorId = "PRODUCT_REQUIREMENT.LAST_EDITOR_ID";

    /**
     * Mapped Field LAST_EDIT_DATE
    */
    static final String LastEditDate = "PRODUCT_REQUIREMENT.LAST_EDIT_DATE";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_REQUIREMENT.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_REQUIREMENT.REMARKS";

    /**
     * Mapped Field SORT_INDEX
    */
    static final String SortIndex = "PRODUCT_REQUIREMENT.SORT_INDEX";

    /**
     * Mapped Field INDENT
    */
    static final String Indent = "PRODUCT_REQUIREMENT.INDENT";

    /**
     * Mapped Field request_trigger
    */
    static final String RequestTrigger = "PRODUCT_REQUIREMENT.request_trigger";

    /**
     * Mapped Field precondition
    */
    static final String Precondition = "PRODUCT_REQUIREMENT.precondition";

    /**
     * Mapped Field request_kind
    */
    static final String RequestKind = "PRODUCT_REQUIREMENT.request_kind";

    /**
     * Mapped Field request_source
    */
    static final String RequestSource = "PRODUCT_REQUIREMENT.request_source";

    /**
     * Mapped Attribute proposerName
    */
    static final String ProposerName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserName,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "PROPOSER.");

    /**
     * Mapped Attribute creatorName
    */
    static final String CreatorName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserName,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "CREATOR.");

    /**
     * Mapped Attribute lastEditorName
    */
    static final String LastEditorName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserName,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".", "LAST_EDITOR.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductRequirement findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute productDefineId
         */
        static final String ProductDefineId = "productDefineId";

        /**
         * Attribute parentId
         */
        static final String ParentId = "parentId";

        /**
         * Attribute requestType
         */
        static final String RequestType = "requestType";

        /**
         * Attribute requestCode
         */
        static final String RequestCode = "requestCode";

        /**
         * Attribute requestName
         */
        static final String RequestName = "requestName";

        /**
         * Attribute requestContent
         */
        static final String RequestContent = "requestContent";

        /**
         * Attribute requestLevel
         */
        static final String RequestLevel = "requestLevel";

        /**
         * Attribute requestRisk
         */
        static final String RequestRisk = "requestRisk";

        /**
         * Attribute proposerDate
         */
        static final String ProposerDate = "proposerDate";

        /**
         * Attribute proposerId
         */
        static final String ProposerId = "proposerId";

        /**
         * Attribute creatorId
         */
        static final String CreatorId = "creatorId";

        /**
         * Attribute createDate
         */
        static final String CreateDate = "createDate";

        /**
         * Attribute lastEditorId
         */
        static final String LastEditorId = "lastEditorId";

        /**
         * Attribute lastEditDate
         */
        static final String LastEditDate = "lastEditDate";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute creatorName
         */
        static final String CreatorName = "creatorName";

        /**
         * Attribute lastEditorName
         */
        static final String LastEditorName = "lastEditorName";

        /**
         * Attribute proposerName
         */
        static final String ProposerName = "proposerName";

        /**
         * Attribute sortIndex
         */
        static final String SortIndex = "sortIndex";

        /**
         * Attribute indent
         */
        static final String Indent = "indent";

        /**
         * Attribute requestTrigger
         */
        static final String RequestTrigger = "requestTrigger";

        /**
         * Attribute precondition
         */
        static final String Precondition = "precondition";

        /**
         * Attribute requestKind
         */
        static final String RequestKind = "requestKind";

        /**
         * Attribute requestSource
         */
        static final String RequestSource = "requestSource";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
